package com.zxq.ai.domain.exception;

import com.zxq.common.utils.exception.DomainException;
import com.zxq.common.utils.exception.ErrorCode;

/**
 * 活动非法, 活动自身设置有问题
 */
public class ActivityIllegalityException extends DomainException {
    public ActivityIllegalityException(String message) {
        super(message);
    }

    public ActivityIllegalityException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public ErrorCode getCode() {
        return ErrorCode.ACTIVITY_ILLEGALITY_EXCEPTION;
    }
}
